{%include file="header.html"%}
<style>
th{text-align:center; font-weight: bolder;}
td{ text-align:center;}
.td_title{ font-weight:600;text-align:right;}
</style>
<body>
<div class="fixed-bar">
  <div class="item-title">
    <h3>支付方式</h3>
  </div>
</div> 
<div class="fixed_bottom">
  <table  align="center"  cellpadding="0" cellspacing="0" class="table tb-type2">
    <tr>
      <th width="80" style="text-align:right;">支付方式名称</th>
      <th width="500">支付方式描述</th>
      <th width="50">费用</th>
      <th width="50">排序</th>
      <th width="100">操作</th>
    </tr>
    {%foreach from=$modules item=module%}
    <tr>
      <td class="td_title">{%$module.pay_name%}</td>
      <td style="text-align:left;">{%$module.pay_desc%}</td>
      <td >
      {%$module.pay_order%}
      </td>
      <td > <span>{%$module.pay_order%}</span> </td>
      <td >
      {%if $module.enabled ==1 %}
        <a href="payment.php?act=edit&code={%$module.pay_code%}">编辑</a>
      {%/if%}
      </td>
    </tr>
    {%/foreach%}
  </table>
</div>
</body>
</html>